package com.fs.service.impl;

import com.fs.mapper.BusinessMapper;
import com.fs.pojo.Business;
import com.fs.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hyy
 * @version 1.0
 * @description: 营业额服务层
 * @date 2024/10/24 15:26
 */
@Service
public class BusinessServiceImpl implements BusinessService {
    @Autowired
    private BusinessMapper businessMapper;
    @Override
    public Integer addBusiness(Business business) {
        return businessMapper.insert(business);
    }
}
